home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20031118-20041115
/
000370_broezell@cig.mot.com_Wed Aug 25 12:23:42 2004.msg
< prev
next >
Wrap
Internet Message Format
|
2004-11-14
|
2KB
Path: newsmaster.cc.columbia.edu!newsfeed1.nycmny01.us.to.verio.net!newspeer1.stngva01.us.to.verio.net!verio!news.harvard.edu!news.dfci.harvard.edu!news.ccs.neu.edu!newsfeed1.e.nsc.no!uninett.no!feed.news.tiscali.de!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed1.sea.pnap.net!newsfeed2.sea.pnap.net!newsfeed.pnap.net!newsgate.mot.com!newshost.mot.com!avnika.corp.mot.com!broezell
From: broezell@cig.mot.com (Ken V. Broezell {QMCS11})
Newsgroups: comp.protocols.kermit.misc
Subject: input/minput commands
Date: Wed, 25 Aug 2004 14:45:38 +0000 (UTC)
Organization: Motorola, Inc.
Lines: 23
Message-ID: <cgi8mi$d1r$1@avnika.corp.mot.com>
NNTP-Posting-Host: login4.cig.mot.com
X-Trace: avnika.corp.mot.com 1093445138 13371 160.22.92.95 (25 Aug 2004 14:45:38 GMT)
X-Complaints-To: news@avnika.corp.mot.com
NNTP-Posting-Date: Wed, 25 Aug 2004 14:45:38 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15135
Is there a way to get the input/minput command to find an exact match?
I want it to find only the string:
login:
That's a single space followed by login: and no trailing spaces. Using
the UNIX grep command I would find it using:
grep '^ login:$' file_name
Instead, input/minput is catching any line with login: within it, such
as:
Last login: Tue Aug 17 16:03:20 from 10.195.10.8
Thanks
--
+-----------------+----------------------------------+------------------------+
| . . |Kenny Broezell |phone :(847) 342-5633|
| ... ... |Customer Network Resolution Center|alt phone:(847) 632-5390|
| ..... ..... |1501 Shure Drive |fax :(847) 632-3157|